home *** CD-ROM | disk | FTP | other *** search
- -- card: 8474 from stack: in.3r
- -- bmap block id: 0
- -- flags: 0000
- -- background id: 2612
- -- name: ImportPict
-
-
- -- part 1 (button)
- -- low flags: 00
- -- high flags: A004
- -- rect: left=203 top=233 right=283 bottom=262
- -- title width / last selected line: 0
- -- icon id / first selected line: 27056 / 27056
- -- text alignment: 1
- -- font id: 0
- -- text size: 12
- -- style flags: 0
- -- line height: 16
- -- part name: Try This
- ----- HyperTalk script -----
- on mouseUp
- if the optionkey is down then pass mouseup
- put "This will create a new stack for your pictures"
- set lockmessages to true
- put the long name of this stack into returnHere
- put "Select the file you want to import pictures from..."
- put filename() into getFromThis
- if getFromThis is empty then
- play oops
- else
- put "Please name your new picture stack"
- domenu "New Stack..."
- put "Please wait..."
- importpict(getFromThis)
- end if
- hide message window
- set lockmessages to false
- end mouseUp
-
-
-
- -- part contents for background part 13
- ----- text -----
- 5
-
- -- part contents for background part 2
- ----- text -----
- ImportPict
-
- -- part contents for background part 3
- ----- text -----
-
- This will import all the PICTs from a file and put them into a stack, one picture per card.
-
-
-
-
-
-
-
- Thanks to:
- Andy Hertzfeld (who?)
-
- -- part contents for background part 10
- ----- text -----
- Syntax:
-
- ImportPict <filePathName>
-
-
-
- -- part contents for background part 30
- ----- text -----
- XCMD